<p id="notice"><%= notice %></p>
<h1>Solicitud ( INS0<%= @request_and_complaint_registration_request.id %>)</h1>

<div class="shadow">
  <fieldset id="agrupacion" >
    <legend>Datos de Usuario Inscriptor</legend>


       <fieldset class="column-left">
      <p>
           <b>Usuario:</b>
            <%= @request_and_complaint_registration_request.name %>
         </p>
         <p>
           <b>DNI:</b>
            <%= @request_and_complaint_registration_request.dni %>
        </p>
       </fieldset>
      <fieldset class="column-right">
        <% if !@request_and_complaint_registration_request.mail.blank? %>
          <p>
             <b>E -Mail:</b>
              <%= @request_and_complaint_registration_request.mail %>
          </p>
           <%end%>
        <p>
             <b>Telefono:</b>
              <%= @request_and_complaint_registration_request.phone %>
          </p>
         </fieldset>

  </fieldset>


<fieldset id="agrupacion" >

      <legend>Datos de Solicitud</legend>

    <fieldset class="column-left2" >
      <p>
           <b>Codigo de Solicitud:</b>
           INS0<%= @request_and_complaint_registration_request.id %>
       </p>

       <p>
           <b>Fecha de Creacion:</b>
           DEN0<%= @request_and_complaint_registration_request.created_at %>
       </p>
       <% if @request_and_complaint_registration_request.description.blank? %>
        <p>
         <b>Descripcon:</b>
           <%= @request_and_complaint_registration_request.description %>
        </p>
       <%end%>

               <b>   </b>
     <b>    </b>
 </fieldset>
<%if !@request_and_complaint_registration_request.avatar.blank? %>
      <fieldset class="column-right2"  >
        <fieldset id="agrupacion" >
        <legend>Foto:</legend>
        <div <%if @request_and_complaint_registration_request.avatar_file_name.blank? %> style="display:none"<%end%>
        <p>
            <%cultural_heritage_cultural_heritage_avatar=@request_and_complaint_registration_request%>


          <a href=<%=@request_and_complaint_registration_request.avatar.url%> rel="lightbox[roadtrip]"><%= image_tag @request_and_complaint_registration_request.avatar.url, :alt => "", :width => 150, :height => 150, :title => "Imagen de Solicitud de Inscripcion"%></a>

          </p>


        </div>
</fieldset>
        
       <% if @request_and_complaint_registration_request.address.blank? %>
         <p>
          <b>Direccion:</b>
              <%= @request_and_complaint_registration_request.address %>
         </p>
           <%end%>

      <%end%>
      </fieldset>


     <fieldset class="column-left" >

          <b>DATOS DE UBICACION</b>
           <b>   </b>
    

          <% if !@request_and_complaint_registration_request.department.blank? %>
           <p>
             <b>Departamento:  </b>
                <%= @request_and_complaint_registration_request.obj_department.name %>
           </p>
           <%end%>
          <% if !@request_and_complaint_registration_request.province.blank? %>
           <p>
            <b>Provincia:  </b>
            <%= @request_and_complaint_registration_request.obj_province.name %>
           </p>
          <%end%>
           <% if !@request_and_complaint_registration_request.district.blank? %>
          <p>
           <b>Distrito:  </b>
        <%= @request_and_complaint_registration_request.obj_district.name %>
          </p>

        <%end%>
          </fieldset>
          <%#*<fieldset class="column-right" >%>


    <%#*</fieldset>%>

  </fieldset>


<%#= link_to 'Editar', edit_request_and_complaint_registration_request_path(@request_and_complaint_registration_request) %> |
<% if user_signed_in? && [4,2].include?(current_user.role)%>
<%= link_to 'Regresar', request_and_complaint_registration_requests_path %>
<%end%>
</div>